<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head th:replace="public::head('经商办企业信息查询')">
</head>
<style>
    .xuanzhong{
        color: #00a9dc;
    }
</style>
<div th:replace="top::top"></div>
    <div class="container-fluid" >
        <div id="JingshangRenyuanlist" class="main" style="padding: 0;">
            <div class="primary-title">
                领导干部信息查询
            </div>

            <div class="primary-content">
                <table class="table table-bordered" style="margin-bottom:10px;">
                    <tbody>
                    <tr>
                        <th class="center middle" style="background-color:rgba(0,0,0,.03);width: 120px;line-height: 45px;text-align: center;">
                            姓名
                        </th>
                        <td class="center middle">
                            <input id="truename" v-model="truename" class="form-control" type="text" style="background-color:#fff;margin-top: 6px;"
                                   placeholder="请输入姓名"/>
                        </td>
                        <th class="center middle" style=";background-color:rgba(0,0,0,.03);width: 120px;line-height: 45px;text-align: center;">
                            单位名称
                        </th>
                        <td class="center middle">
                            <select id="" class="input form-control" v-model="danweiid" style="margin-top: 6px;">
                                <option value=''>--请选择--</option>
                                <option v-for="danweiitem in danweinamelist"
                                        :value="danweiitem.deptid"	v-html="danweiitem.danweiduiwaimingcheng"></option>
                            </select>

                        </td>
                        <th class="center middle" style="background-color:rgba(0,0,0,.03);width: 120px;line-height: 45px;text-align: center;">
                            人员类别
                        </th>
                        <td class="center middle" style="">
                            <select class="form-control" v-model="renyuanleibie" style="margin-top: 6px;">
                                <option value="">-- 请选择 --</option>
                                <option v-for="renyuanleibie in renyuanleibielist" v-text="renyuanleibie.text" :value="renyuanleibie.id"></option>
                            </select>
                        </td>
                        <th style="background-color:rgba(0,0,0,.03);width: 120px;text-align: center;line-height: 45px;">
                            经商办企业数量
                        </th>
                        <td  style="padding-top: 15px;">
                            <input id="shuliang" v-model="shuliang" class="form-control" type="text" style="background-color:#fff;"
                                   placeholder="请输入经商办企业数量" oninput = "value=value.replace(/[^\d]/g,'')"/>
                        </td>
                        <td class="center middle" style="width:120px;" >
                            <button class="btn btn-success btn-lg" @click="findVaild('0',1);">查 询</button>
                        </td>
                    </tr>
                    </tbody>
                </table>

                <table class="table table-hover table-striped" width="45%">
                    <thead>
                    <th style="text-align:center;vertical-align:middle;width: 60px;">序号</th>
                    <th style="text-align:center;vertical-align:middle;width: 100px;">姓名
                        <span id="name" @click="findVaild('name');" style="cursor: pointer;margin-left: 5px;position: relative;top: -2px;">↑</span>
                        <span id="namedesc" @click="findVaild('namedesc');" style="cursor: pointer;margin-left: 5px;position: relative;top: -2px;">↓</span>
                    </th>
                    <th style="text-align:center;vertical-align:middle;width: 100px;">单位</th>
                    <th style="text-align:center;vertical-align:middle;width: 100px;">机构名称码
                        <span id="jigoumingchengma" @click="findVaild('jigoumingchengma');" style="cursor: pointer;margin-left: 5px;position: relative;top: -2px;">↑</span>
                        <span id="jigoumingchengmadesc" @click="findVaild('jigoumingchengmadesc');" style="cursor: pointer;margin-left: 5px;position: relative;top: -2px;">↓</span>
                    </th>
                    <th style="text-align:center;vertical-align:middle;width: 100px;">部职别</th>
                    <th style="text-align:center;vertical-align:middle;width: 100px;">人员类别
                        <span id="renyuanleibie" @click="findVaild('renyuanleibie');" style="cursor: pointer;margin-left: 5px;position: relative;top: -2px;">↑</span>
                        <span id="renyuanleibiedesc" @click="findVaild('renyuanleibiedesc');" style="cursor: pointer;margin-left: 5px;position: relative;top: -2px;">↓</span>

                    </th>
                    <th style="text-align:center;vertical-align:middle;width: 100px;">军衔
                        <span id="junxianleibie" @click="findVaild('junxianleibie');" style="cursor: pointer;margin-left: 5px;position: relative;top: -2px;">↑</span>
                        <span id="junxianleibiedesc" @click="findVaild('junxianleibiedesc');" style="cursor: pointer;margin-left: 5px;position: relative;top: -2px;">↓</span>

                    </th>
                    <th style="text-align:center;vertical-align:middle;width: 100px;">军衔时间</th>
                    <th style="text-align:center;vertical-align:middle;width:100px;">经商办企业数量</th>
                    <th style="text-align:center;vertical-align:middle;width:100px;">操作</th>
                    </thead>

                    <tbody v-for="(renyuanitem,index) in renyuanlist" >
                    <tr :id='"ld"+renyuanitem.RENYUANID' class="ld" v-if="show" style="cursor: pointer;">
                        <td style="text-align:center;vertical-align:middle;" v-text="index+1+(pageIndex-1)*pageSize"></td>
                        <td style="text-align:center;vertical-align:middle;" v-text="renyuanitem.truename" ></td>
                        <td style="text-align:center;vertical-align:middle;" v-text="renyuanitem.deptname"></td>
                        <td style="text-align:center;vertical-align:middle;" v-text="renyuanitem.jigoumingchengma"></td>
                        <td style="text-align:center;vertical-align:middle;" v-text="renyuanitem.buzhibie"></td>
                        <td style="text-align:center;vertical-align:middle;" v-text="renyuanitem.renyuanleibietext"></td>
                        <td style="text-align:center;vertical-align:middle;" v-text="renyuanitem.junxianleibietext+renyuanitem.junxiandengjitext"></td>
                        <td style="text-align:center;vertical-align:middle;" v-text="renyuanitem.junxianshijian2"></td>
                        <td style="text-align:center;vertical-align:middle;" v-text="renyuanitem.jingshangcount "></td>
                        <td style="text-align:center;vertical-align:middle;"><button @click="findByRenyuanId(renyuanitem.renyuanid);" class="btn btn-info">查 看</button></td>
                    </tr>


                    </tbody>


                </table>

                <div v-if="!show" style="text-align:center;width:100%;">查无数据</div>

                <div v-if="show" class="my-page-navigation">
                    <button class="btn btn-default" v-on:click="SetPageIndex">首页</button>
                    <button class="btn btn-default" v-on:click="SetPageIndexPrePage">上一页</button>
                    <span v-text="pageIndex + '  /  ' + pageCount"></span>
                    <span v-text="'共' + recordCount + '条'"></span>
                    <button class="btn btn-default" v-on:click="SetPageIndexNextPage">下一页</button>
                    <button class="btn btn-default" v-on:click="SetPageEnd">尾页</button>
                    <span>跳到第</span>
                    <input type="text" class="form-control" style="width: 80px;display:inline-block;"  v-model="inputPageIndexValue" v-on:keyup.enter="JumpPage">
                    <span>页</span>
                    <button class="btn btn-default" v-on:click="JumpPage">跳</button>
                </div>


            </div>

        </div>
    </div>
<div th:replace="bottom::bottom"></div>

<script src="../js/jingshangqingkuang/jingshangchaxun.js?ver=1.6"></script>
<link href="../css/main.css?ver=1.0" rel="stylesheet" type="text/css"></link>
<link href="../css/dashboard.css?ver=1.1" rel="stylesheet" type="text/css"></link>
<link rel="stylesheet" href="../css/xadmin.css?ver=0.6">

</html>